#pragma once
#include "graphic.h"
#include "GraphicFactory.h"


class Label :
	public Graphic
{
public:
	Label(void);
	virtual ~Label(void);
	DEF_CREATE_CALLBACK(Label)
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnPaint();
public:
	virtual void initPos(CPoint& pt1, CPoint& pt2);
	virtual void Serialize(CArchive& ar);
public:
	CString  _text;
	CFont    _font;
	COLORREF _color;
	LOGFONT  _lf;
};

